netd 1.0 not starting - Samsung Galaxy SL i9003

I have tried porting many roms but every time I fail because only of this
01-01 00:09:24.703: I/DEBUG(1390): --------- beginning of /dev/log/system
01-01 00:09:25.250: I/Vold(1386): Vold 2.1 (the revenge) firing up
01-01 00:09:25.382: I/Netd(1389): Netd 1.0 starting
01-01 00:09:25.515: D/Vold(1386): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 00:09:25.515: D/Vold(1386): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
01-01 00:09:25.695: I/(1394): ServiceManager: 0x18910
01-01 00:09:26.000: D/Vold(1386): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 4, PARTN 4
01-01 00:09:26.007: D/Vold(1386): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 00:09:30.062: I/Netd(1559): Netd 1.0 starting
01-01 00:09:34.531: I/Netd(1585): Netd 1.0 starting
01-01 00:09:40.031: I/Netd(1608): Netd 1.0 starting
the netd service wont start and no bootanimation
any one knows what is this netd service

I think netd is the daemon which brings up the network connections.
Maybe a problem with the driver?
Sent from my GT-I9003 using xda app-developers app

The Same error
Hii
I m getting the same error

Did you use the androidruntime.so lib from base if you take that lib from port ROM it won't work
Sent from my GT-I9300 using xda premium

U guys should contact lolation..he is the God/master of porter of Rom...he will help you
Sent from my GT-I9003 using xda app-developers app

Related

[Q] Tablet not booting (with log and video)

Hello,
My ZT-282 Tablet is having some troubles booting. It started when trying to flash the latest rom (0327). The installation went fine in the sense there were not error messages during the installation.
Here is a video of the upgrade and the problem that follows:
http://dl.dropbox.com/u/165691/video-2012-04-08-19-13-46.mp4
As you can see it first shows a logo, flashes for a second then shows the logo a second time. After that it freezes. I have left it alone in this state for an hour, but nothing happens.
Here is a log that I got via adb from the tablet. Does it give any clues?
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 79): debuggerd: Feb 9 2012 19:41:11
D/Memsicd ( 91): search aac sensor: MXC622X
D/Memsicd ( 91): aac sensor MXC622X[0] communicate success
I//system/bin/set_display_mode.sh( 73): 1024,1200
D/sslib ( 91): sslib: ss_config file read succeed
D/sslib ( 91): sslib: entering ss_load_module_raw
D/sslib ( 91): Loading module /system/lib/sslib/inputraw_ss.so
I/logwrapper( 73): /system/bin/set_display_mode.sh terminated by exit(0)
D/sslib ( 91): mod_init of input raw
--------- beginning of /dev/log/system
I/Vold ( 75): Vold 2.1 (the revenge) firing up
I/Netd ( 101): Netd 1.0 starting
D/Vold ( 75): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 75): Volume flash state changing -1 (Initializing) -> 0 (No-Media)
E/Netd ( 101): Unable to create netlink socket: Protocol not supported
E/Netd ( 101): Unable to open quota2 logging socket
D/Vold ( 75): Volume flash state changing 0 (No-Media) -> 2 (Pending)
E/NetlinkEvent( 75): NetlinkEvent::FindParam(): Parameter 'NPARTS' not found
D/Vold ( 75): Volume flash state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 75): Volume flash state changing 1 (Idle-Unmounted) -> 2 (Pending)
E/NetlinkEvent( 75): NetlinkEvent::FindParam(): Parameter 'NPARTS' not found
D/Vold ( 75): Volume flash state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/Netd ( 135): Netd 1.0 starting
E/Netd ( 135): Unable to create netlink socket: Protocol not supported
E/Netd ( 135): Unable to open quota2 logging socket
I/Netd ( 163): Netd 1.0 starting
E/Netd ( 163): Unable to create netlink socket: Protocol not supported
E/Netd ( 163): Unable to open quota2 logging socket
I/Netd ( 191): Netd 1.0 starting
E/Netd ( 191): Unable to create netlink socket: Protocol not supported
E/Netd ( 191): Unable to open quota2 logging socket
I/Netd ( 219): Netd 1.0 starting
E/Netd ( 219): Unable to create netlink socket: Protocol not supported
E/Netd ( 219): Unable to open quota2 logging socket
The messages about not being able to create a netlink socket goes on forever after this.
I'm having the same issue, did you know how to solve it yet?

[Q] Do I need these files for my port?

I am porting cm7 to my Samsung Conquer 4g. This is taken from the updater-script
Code:
ui_print("Checking state of BML/MTD...");
package_extract_file("modem.bin", "/tmp/modem.bin");
set_perm(0, 0, 0777, "/tmp/modem.bin");
package_extract_file("updater.sh", "/tmp/updater.sh");
set_perm(0, 0, 0777, "/tmp/updater.sh");
package_extract_file("make_ext4fs", "/tmp/make_ext4fs");
set_perm(0, 0, 0777, "/tmp/make_ext4fs");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
package_extract_file("flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
package_extract_file("erase_image", "/tmp/erase_image");
set_perm(0, 0, 0777, "/tmp/erase_image");
package_extract_file("bml_over_mtd", "/tmp/bml_over_mtd");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd");
package_extract_file("bml_over_mtd.sh", "/tmp/bml_over_mtd.sh");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd.sh");
Do I need these files? Also when I removed them and tried to boot it got stuck on the bootsplash. Here's my logcat.
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 109): debuggerd: Mar 17 2012 16:39:00
E/macloader( 107): wifi.mac_addr: .mac.info already exist!
--------- beginning of /dev/log/system
I/Vold ( 106): Vold 2.1.1 (the revenge) firing up
I/Vold ( 106): Volume::setState -> Volume sdcard1 /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
D/DirectVolume( 106): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 0 (disk)
D/DirectVolume( 106): DirectVolume::handleDiskAdded -> mDiskMajor 179, mDiskMinor 0, NPARTS:1
I/Vold ( 106): Volume::setState -> Volume sdcard1 /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
I/Vold ( 106): NetlinkHandler::onEvent ->[block] from uevent
D/DirectVolume( 106): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 1 (partition)
D/DirectVolume( 106): DirectVolume::handlePartitionAdded -> major 179, minor 1, PARTN 1
I/Vold ( 106): Volume::setState -> Volume sdcard1 /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_mass_storage),SWITCH_STATE(online)
W/Vold ( 106): Ignoring unknown switch 'usb_mass_storage'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(MSM72K_UDC),SWITCH_STATE(offline)
W/Vold ( 106): Ignoring unknown switch 'MSM72K_UDC'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(MSM72K_UDC),SWITCH_STATE(online)
W/Vold ( 106): Ignoring unknown switch 'MSM72K_UDC'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_configuration),SWITCH_STATE(1)
W/Vold ( 106): Ignoring unknown switch 'usb_configuration'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(MSM72K_UDC),SWITCH_STATE(offline)
W/Vold ( 106): Ignoring unknown switch 'MSM72K_UDC'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_connected),SWITCH_STATE(0)
D/Vold ( 106): USB disconnected
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_configuration),SWITCH_STATE(0)
W/Vold ( 106): Ignoring unknown switch 'usb_configuration'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_mass_storage),SWITCH_STATE(offline)
W/Vold ( 106): Ignoring unknown switch 'usb_mass_storage'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_connected),SWITCH_STATE(1)
D/Vold ( 106): USB connected
D/Vold ( 106): Share method ums now available
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_mass_storage),SWITCH_STATE(online)
W/Vold ( 106): Ignoring unknown switch 'usb_mass_storage'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(MSM72K_UDC),SWITCH_STATE(online)
W/Vold ( 106): Ignoring unknown switch 'MSM72K_UDC'
I/Vold ( 106): NetlinkHandler::onEvent ->[switch] from uevent
D/Vold ( 106): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_configuration),SWITCH_STATE(1)
W/Vold ( 106): Ignoring unknown switch 'usb_configuration'
Can you please tell me what I need to fix? Thanks!

help for porting rom

I was trying to port this xperia rom to galaxy sl 19003 http://forum.xda-developers.com/showthread.php?t=1827071 here is the logcat
?:??: W/?(?): --------- beginning of /dev/log/main
01-01 00:09:24.578: I/cm(1378): Welcome to Android 4.0.4 / CyanogenMod-9-20121008-UNOFFICIAL-galaxysl
01-01 00:09:24.585: I/cm(1379): _
01-01 00:09:24.585: I/cm(1380): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
01-01 00:09:24.593: I/cm(1381): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
01-01 00:09:24.593: I/cm(1382): )) _))
01-01 00:09:24.601: I/cm(1383):
01-01 00:09:24.703: I/DEBUG(1390): debuggerd: Oct 8 2012 15:41:26
01-01 00:09:24.703: I/DEBUG(1390): --------- beginning of /dev/log/system
01-01 00:09:25.250: I/Vold(1386): Vold 2.1 (the revenge) firing up
01-01 00:09:25.382: I/Netd(1389): Netd 1.0 starting
01-01 00:09:25.515: D/Vold(1386): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 00:09:25.515: D/Vold(1386): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
01-01 00:09:25.695: I/(1394): ServiceManager: 0x18910
01-01 00:09:26.000: D/Vold(1386): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
01-01 00:09:26.007: D/DirectVolume(1386): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 4, PARTN 4
01-01 00:09:26.007: D/Vold(1386): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 00:09:30.062: I/Netd(1559): Netd 1.0 starting
01-01 00:09:34.531: I/Netd(1585): Netd 1.0 starting
01-01 00:09:40.031: I/Netd(1608): Netd 1.0 starting
the netd service wont start and no bootanimation
Hey PM me I am also trying.
netd service is not starting I cant figure out the problem I ported this rom in the same way as I ported flyme os
is anyone willing to help me
guys please anyone help
Hope that i can do that
Sent from my GT-I9003 using xda app-developers app

Problem after Boot [p720 with Su870-Image]

Hey Hey
i got this error on Logcat, has anyone an idea ?
see screenshoot
MasterTobi said:
Hey Hey
i got this error on Logcat, has anyone an idea ?
see screenshoot
Click to expand...
Click to collapse
surfaceflinger is the prob is egl.cfg in /system/lib/egl?
ok can check it first 17:30am german time
but first off all thx
so thx now all work but i have only a loop in netd 1.0 starting
so they can´t boot the phone any idea ?
MasterTobi said:
so thx now all work but i have only a loop in netd 1.0 starting
so they can´t boot the phone any idea ?
Click to expand...
Click to collapse
i dunno whats up with no logcat but you can use my build/zip/updater-script
to make your rom
and where is it
btw here logcat
?:??: W/?(?): --------- beginning of /dev/log/main
01-01 01:07:31.867: I/DEBUG(152): debuggerd: Apr 8 2013 14:11:59
01-01 01:07:31.992: D/AT_handler Daemon(161): AP_at_handler_main_function_V20110623
01-01 01:07:31.992: D/AT_handler Daemon(161): --------- beginning of /dev/log/system
01-01 01:07:31.992: I/Vold(145): Vold 2.1 (the revenge) firing up
01-01 01:07:32.000: D/AT_handler Daemon(161): Init_PCSync Start
01-01 01:07:32.000: D/AT_handler Daemon(161): device open /dev/input/event0
01-01 01:07:32.000: D/AT_handler Daemon(161): gspapa:: get device name mpu-accel
01-01 01:07:32.023: I/Netd(151): Netd 1.0 starting
01-01 01:07:32.046: D/Vold(145): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 01:07:32.046: D/Vold(145): Volume extsdcard state changing -1 (Initializing) -> 0 (No-Media)
01-01 01:07:32.070: D/AT_handler Daemon(161): device open /dev/input/event1
01-01 01:07:32.070: D/AT_handler Daemon(161): gspapa:: get device name modem_watcher
01-01 01:07:32.085: I/lgdrmserver(149): Start lgsecclkserver
01-01 01:07:32.085: E/SecClk(149): LibInitSecClkInfo() : Fail to open info file
01-01 01:07:32.085: E/SecClk(149): LibInitSecClkInfo() : Fail to open info file
01-01 01:07:32.093: D/Vold(145): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 01:07:32.093: D/Vold(145): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: W/Vold(145): Duplicate state (1)
01-01 01:07:32.093: D/Vold(145): Volume extsdcard state changing 0 (No-Media) -> 2 (Pending)
01-01 01:07:32.093: D/Vold(145): Volume extsdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
01-01 01:07:32.125: I/lgdrmserver(150): Start lgdrmserver
01-01 01:07:32.125: E/LGDRM(150): [DRMERR] drmLibGetFlexInfo() : Fail to read OpCode
01-01 01:07:32.132: D/AT_handler Daemon(161): device open /dev/input/event2
01-01 01:07:32.132: D/AT_handler Daemon(161): gspapa:: get device name omap4-keypad
01-01 01:07:32.132: I/LGDRM(150): [DRM] DRMAgent_Init() : Entering
01-01 01:07:32.132: E/LGDRM(150): [DRMERR] drmUtilCheckFolder() : Fail to create folder /persist-lg/lgdrm
01-01 01:07:32.156: E/NV_DATA(160): [NVD] main
01-01 01:07:32.187: D/AT_handler Daemon(161): device open /dev/input/event3
01-01 01:07:32.187: D/AT_handler Daemon(161): gspapa:: get device name touch_dev
01-01 01:07:32.195: V/IMGSRV(146): Succesfully loaded gfx modules
01-01 01:07:32.250: D/AT_handler Daemon(161): device open /dev/input/event4
01-01 01:07:32.250: D/AT_handler Daemon(161): gspapa:: get device name twl6030_pwrbutton
01-01 01:07:32.265: V/IMGSRV(146): pvrsrvinit complete
01-01 01:07:32.273: I/Netd(220): Netd 1.0 starting
01-01 01:07:32.296: D/AT_handler Daemon(161): device open /dev/input/event5
01-01 01:07:32.296: D/AT_handler Daemon(161): gspapa:: get device name proximity
01-01 01:07:32.351: D/AT_handler Daemon(161): device open /dev/input/event6
01-01 01:07:32.351: D/AT_handler Daemon(161): gspapa:: get device name als
01-01 01:07:32.507: D/AT_handler Daemon(161): device open /dev/input/event7
01-01 01:07:32.507: D/AT_handler Daemon(161): gspapa:: get device name u2 Headset Jack
01-01 01:07:32.757: D/AT_handler Daemon(161): device open /dev/input/event8
01-01 01:07:32.757: D/AT_handler Daemon(161): gspapa:: get device name suspend_autotest_pwrkey
01-01 01:07:33.007: D/AT_handler Daemon(161): could not open /dev/input/event9, No such file or directory
01-01 01:07:33.007: D/AT_handler Daemon(161): AT Command Thread Started
01-01 01:07:33.007: D/AT_handler Daemon(161): USB Dis-Connect Count = 0
01-01 01:07:33.007: D/AT_handler Daemon(161): USB Connect Count = 1
01-01 01:07:33.007: D/AT_handler Daemon(161): usbfd is opned : 7
01-01 01:07:33.007: D/AT_handler Daemon(161): USB Cable STATUS: CDC
01-01 01:07:33.007: D/AT_handler Daemon(161): after timeout
01-01 01:07:33.007: D/AT_handler Daemon(161): before read usb port
01-01 01:07:33.007: D/AT_handler Daemon(161): usbfd = 7
01-01 01:07:33.007: D/AT_handler Daemon(161): buffer size = 513
01-01 01:07:37.453: I/Netd(561): Netd 1.0 starting
01-01 01:07:42.593: I/Netd(591): Netd 1.0 starting
01-01 01:07:47.718: I/Netd(621): Netd 1.0 starting
01-01 01:07:52.851: I/Netd(651): Netd 1.0 starting
01-01 01:07:57.000: I/Netd(679): Netd 1.0 starting
01-01 01:08:02.164: I/Netd(711): Netd 1.0 starting
01-01 01:08:07.343: I/Netd(753): Netd 1.0 starting
01-01 01:08:12.531: I/Netd(785): Netd 1.0 starting
01-01 01:08:17.679: I/Netd(815): Netd 1.0 starting
01-01 01:08:22.851: I/Netd(846): Netd 1.0 starting
01-01 01:08:26.976: I/Netd(874): Netd 1.0 starting
01-01 01:08:32.148: I/Netd(905): Netd 1.0 starting
01-01 01:08:37.375: I/Netd(948): Netd 1.0 starting
01-01 01:08:42.531: I/Netd(979): Netd 1.0 starting
01-01 01:08:47.695: I/Netd(1009): Netd 1.0 starting
01-01 01:08:52.859: I/Netd(1040): Netd 1.0 starting
01-01 01:08:56.992: I/Netd(1068): Netd 1.0 starting
01-01 01:09:02.125: I/Netd(1098): Netd 1.0 starting
01-01 01:09:07.367: I/Netd(1142): Netd 1.0 starting
01-01 01:09:12.507: I/Netd(1172): Netd 1.0 starting
01-01 01:09:17.664: I/Netd(1202): Netd 1.0 starting
01-01 01:09:22.828: I/Netd(1232): Netd 1.0 starting
01-01 01:09:26.960: I/Netd(1260): Netd 1.0 starting
: E/(): Device disconnected

CM11 weekly doesn't mount my SD card

Logcat:
Code:
I/Vold ( 103): Vold 2.1 (the revenge) firing up
D/Vold ( 103): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 103): Volume sdcard0 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 103): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 103): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/Vold ( 103): Volume sdcard0 state changing 2 (Pending) -> 1 (Idle-Unmounted)
*snip*
D/DirectVolume( 103): Checking for bad partition major number
D/DirectVolume( 103): Checking for bad partition major number
I/Vold ( 103): /dev/block/vold/179:1 being considered for volume sdcard0
D/Vold ( 103): Volume sdcard0 state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/Vold ( 103): Trying to get filesystem type for /dev/block/vold/179:1
D/MountService( 436): volume state changed for /storage/sdcard0 (unmounted -> checking)
D/MountService( 436): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
*snip*
D/Vold ( 103): Found vfat filesystem on /dev/block/vold/179:1
D/DirectVolume( 103): Volume sdcard0 /mnt/media_rw/sdcard0 partition 179:2 removed
D/DirectVolume( 103): Volume sdcard0 /mnt/media_rw/sdcard0 partition 179:1 removed
D/DirectVolume( 103): Volume sdcard0 /mnt/media_rw/sdcard0 disk 179:0 removed
D/Vold ( 103): Volume sdcard0 state changing 3 (Checking) -> 0 (No-Media)
V/KeyguardService( 525): onCreate()
I/fsck_msdos( 103): ** /dev/block/vold/179:1
I/fsck_msdos( 103): Can't open: No such device or address
I/fsck_msdos( 103): fsck_msdos terminated by exit(8)
E/Vold ( 103): Filesystem check failed (unknown exit code 8)
E/Vold ( 103): /dev/block/vold/179:1 failed FS checks (I/O error)
D/Vold ( 103): Volume sdcard0 state changing 0 (No-Media) -> 1 (Idle-Unmounted)
W/Vold ( 103): Returning OperationFailed - no handler for errno 0
D/MountService( 436): volume state changed for /storage/sdcard0 (checking -> unmounted)
I/PackageManager( 436): Updating external media status from unmounted to unmounted
D/MountService( 436): sendStorageIntent Intent { act=unmounted dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
D/MountService( 436): volume state changed for /storage/sdcard0 (unmounted -> removed)
D/MountService( 436): sendStorageIntent Intent { act=android.intent.action.MEDIA_REMOVED dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
E/VoldConnector( 436): NDC Command {3 volume mount /storage/sdcard0} took too long (3668ms)
E/MountService( 436): Boot-time mount failed (-1)
SD works in CM11 RC1, but not the weekly. The SD card is still found in recovery as well.
If I try and remove the SD card after it's booted it posts the "preparing SD card..." notification and then the "SD card safe to remove" notification.
forkbomb444 said:
Logcat:
Code:
I/Vold ( 103): Vold 2.1 (the revenge) firing up
D/Vold ( 103): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 103): Volume sdcard0 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 103): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 103): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/Vold ( 103): Volume sdcard0 state changing 2 (Pending) -> 1 (Idle-Unmounted)
*snip*
D/DirectVolume( 103): Checking for bad partition major number
D/DirectVolume( 103): Checking for bad partition major number
I/Vold ( 103): /dev/block/vold/179:1 being considered for volume sdcard0
D/Vold ( 103): Volume sdcard0 state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/Vold ( 103): Trying to get filesystem type for /dev/block/vold/179:1
D/MountService( 436): volume state changed for /storage/sdcard0 (unmounted -> checking)
D/MountService( 436): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
*snip*
D/Vold ( 103): Found vfat filesystem on /dev/block/vold/179:1
D/DirectVolume( 103): Volume sdcard0 /mnt/media_rw/sdcard0 partition 179:2 removed
D/DirectVolume( 103): Volume sdcard0 /mnt/media_rw/sdcard0 partition 179:1 removed
D/DirectVolume( 103): Volume sdcard0 /mnt/media_rw/sdcard0 disk 179:0 removed
D/Vold ( 103): Volume sdcard0 state changing 3 (Checking) -> 0 (No-Media)
V/KeyguardService( 525): onCreate()
I/fsck_msdos( 103): ** /dev/block/vold/179:1
I/fsck_msdos( 103): Can't open: No such device or address
I/fsck_msdos( 103): fsck_msdos terminated by exit(8)
E/Vold ( 103): Filesystem check failed (unknown exit code 8)
E/Vold ( 103): /dev/block/vold/179:1 failed FS checks (I/O error)
D/Vold ( 103): Volume sdcard0 state changing 0 (No-Media) -> 1 (Idle-Unmounted)
W/Vold ( 103): Returning OperationFailed - no handler for errno 0
D/MountService( 436): volume state changed for /storage/sdcard0 (checking -> unmounted)
I/PackageManager( 436): Updating external media status from unmounted to unmounted
D/MountService( 436): sendStorageIntent Intent { act=unmounted dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
D/MountService( 436): volume state changed for /storage/sdcard0 (unmounted -> removed)
D/MountService( 436): sendStorageIntent Intent { act=android.intent.action.MEDIA_REMOVED dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
E/VoldConnector( 436): NDC Command {3 volume mount /storage/sdcard0} took too long (3668ms)
E/MountService( 436): Boot-time mount failed (-1)
SD works in CM11 RC1, but not the weekly. The SD card is still found in recovery as well.
If I try and remove the SD card after it's booted it posts the "preparing SD card..." notification and then the "SD card safe to remove" notification.
Click to expand...
Click to collapse
I am not a developer but these home remedies might help.
1} Format your SD card from PC. Format any sd-ext partitions if available. Then clean flash CM11
2} Try some other SD card. Your might not be bugged!
I've done some more research, and it looks a lot like a bug with vold, but I really would need someone like @thewisenerd to help out :fingers-crossed: Perhaps a more verbose version of vold might be needed? idk.
dmesg output from a boot (includes me pulling it in/out a few time) (only lines with 'sd' or 'mmc'): paste dot kde dot org/pyrxbgd9z/c5fjco (XDA won't let me put in external links)
It's not a hardware or partitioning issue. Running this bash script:
Code:
while true; do
if ls /dev/block | grep mmc; then
killall vold
fi
done
will cause the SD to appear in /dev/block and be mountable - and when I stop running the script, the blockfiles disappear but the card still remains mounted. fsck_msdos shows no errors when run outside of vold, TWRP works for the card, and it was working before.
Code:
E/Vold ( 103): /dev/block/vold/179:1 failed FS checks (I/O error)
Please mount the card somehow, and fsck it!
thewisenerd said:
Code:
E/Vold ( 103): /dev/block/vold/179:1 failed FS checks (I/O error)
Please mount the card somehow, and fsck it!
Click to expand...
Click to collapse
Without vold running (on the phone, in the weekly):
Code:
[email protected]:/ # fsck_msdos /dev/block/mmcblk0p1
** /dev/block/mmcblk0p1
** Phase 1 - Read FAT (compare skipped)
Attempting to allocate 6477 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
36 files, 1950664 free (1536242 clusters)
[email protected]:/ # mount -t vfat /dev/block/mmcblk0p1 /storage/sdcard0/
[email protected]:/ # ls /storage/sdcard0
Alarms
-snip-
[email protected]:/ #
Looks a lot like vold is doing something to cause it to error out...
forkbomb444 said:
Without vold running (on the phone, in the weekly):
Code:
[email protected]:/ # fsck_msdos /dev/block/mmcblk0p1
** /dev/block/mmcblk0p1
** Phase 1 - Read FAT (compare skipped)
Attempting to allocate 6477 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
36 files, 1950664 free (1536242 clusters)
[email protected]:/ # mount -t vfat /dev/block/mmcblk0p1 /storage/sdcard0/
[email protected]:/ # ls /storage/sdcard0
Alarms
-snip-
[email protected]:/ #
Looks a lot like vold is doing something to cause it to error out...
Click to expand...
Click to collapse
Really strange... Could you give some more info on which weekly you are on? I'll try to look through CM's system/vold changes, if anything is breaking stuff...
Also, in any case, did you try connecting the card to a sytem, while on recovery && mounted, and fsck it through Window's CMD, or fsck.msdos?
thewisenerd said:
Really strange... Could you give some more info on which weekly you are on? I'll try to look through CM's system/vold changes, if anything is breaking stuff...
Also, in any case, did you try connecting the card to a sytem, while on recovery && mounted, and fsck it through Window's CMD, or fsck.msdos?
Click to expand...
Click to collapse
I'm on the latest weekly with the latest aw3som3 kernel (July 2) installed. idk where my microsd adapter's gone, but I'll get one tomorrow and then I'll have some results.
@thewisenerd - chkdsk showed no errors, I also tried another SD card and that didn't work either.
forkbomb444 said:
@thewisenerd - chkdsk showed no errors, I also tried another SD card and that didn't work either.
Click to expand...
Click to collapse
Was it working in earlier builds?
edit: I'm assuming yes
please ask more support from the OP @kirmaniarslan
thewisenerd said:
Was it working in earlier builds?
Click to expand...
Click to collapse
It was working in CyanogenMod RC 1.
thewisenerd said:
Was it working in earlier builds?
edit: I'm assuming yes
please ask more support from the OP @kirmaniarslan
Click to expand...
Click to collapse
Doesn't work in Omni. Latest build bootloops because something's causing I/O errors... sd-ext is mounted as /data successfully, but then vold comes in and weird stuff happens.
Logcat: ix.io/dgE
Dmesg: ix.io/dgG (all those ext4 errors seem to be because the device has disappeared)
Oh, and CM RC1 has stopped mounting the card (oh joy)
Logcat: ix.io/dgH
Dmesg: ix.io/dgI
Well, weird. It's started working again
I reformatted the card to exfat rather than vfat and it's mounting properly now. Weird.
Thanks for your help, though
EDIT: For some reason exfat doesn't mount in aw3som3's TWRP @thewisenerd, it complains about missing tzinfo. Bug?
forkbomb444 said:
EDIT: For some reason exfat doesn't mount in aw3som3's TWRP @thewisenerd, it complains about missing tzinfo. Bug?
Click to expand...
Click to collapse
Ah, that! exFat is currently disabled in TWRP (in BoardConfig.mk). fixed that up with the current device tree (local), and will upload TWRP 2.7.1.0 soon.
About missing tzinfo, other people are reporting it too (other devices), and it doesn't seem to have any adverse side-effects, so, I'll choose to ignore it too (until it's (probably) fixed upstream)

Categories

Resources