lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130322083100.GA12654@schottelius.org>
Date:	Fri, 22 Mar 2013 09:31:00 +0100
From:	Nico Schottelius <nico-lkml-20130322@...ottelius.org>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: [BUG] 3.8.3-2-ARCH

Hello,

when attaching an external USB disk I get the following
traceback and the kernel does not see the partitions [0].

sgdisk however is able to access the partition table [1]

Plugging it in again, makes the kernel see the partition table
(full dmesg attached)

Hardware this time is Lenovo X1 carbon - no more Apple stuff
coming from my side for a while.

Cheers,

Nico

p.s.: please cc on reply

[0]

[52536.209629] ehci-pci 0000:00:1a.0: power state changed by ACPI to D0
[52536.311108] ehci-pci 0000:00:1a.0: setting latency timer to 64
[52536.311475] ehci-pci 0000:00:1d.0: power state changed by ACPI to D0
[52536.414356] ehci-pci 0000:00:1d.0: setting latency timer to 64
[52536.414561] xhci_hcd 0000:00:14.0: power state changed by ACPI to D0
[52536.427470] ehci-pci 0000:00:1d.0: power state changed by ACPI to D3cold
[52536.517536] xhci_hcd 0000:00:14.0: setting latency timer to 64
[52536.524237] usb 3-1.2: new high-speed USB device number 7 using ehci-pci
[52536.723735] xhci_hcd 0000:00:14.0: power state changed by ACPI to D3cold
[52536.770034] Initializing USB Mass Storage driver...
[52536.770549] scsi6 : usb-storage 3-1.2:1.0
[52536.770758] usbcore: registered new interface driver usb-storage
[52536.770762] USB Mass Storage support registered.
[52544.272683] scsi 6:0:0:0: Direct-Access     Samsung  STORY Station 3  1AJ1 PQ: 0 ANSI: 0
[52544.274383] sd 6:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[52544.275988] sd 6:0:0:0: [sdb] Write Protect is off
[52544.276002] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[52544.277876] sd 6:0:0:0: [sdb] No Caching mode page present
[52544.277889] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[52544.282306] sd 6:0:0:0: [sdb] No Caching mode page present
[52544.282315] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[52544.284699] kworker/u:1: page allocation failure: order:4, mode:0x10c0d0
[52544.284711] Pid: 12117, comm: kworker/u:1 Tainted: G        W    3.8.3-2-ARCH #1
[52544.284716] Call Trace:
[52544.284739]  [<ffffffff811292f9>] warn_alloc_failed+0xe9/0x140
[52544.284753]  [<ffffffff8112c776>] ? drain_local_pages+0x16/0x20
[52544.284766]  [<ffffffff8112cf88>] __alloc_pages_nodemask+0x7b8/0xa40
[52544.284782]  [<ffffffff8116a7a8>] alloc_pages_current+0xb8/0x180
[52544.284793]  [<ffffffff811285ce>] __get_free_pages+0xe/0x50
[52544.284803]  [<ffffffff81171e59>] kmalloc_order_trace+0x39/0xf0
[52544.284818]  [<ffffffff8125f620>] check_partition+0x30/0x210
[52544.284829]  [<ffffffff8125f35d>] rescan_partitions+0xad/0x290
[52544.284843]  [<ffffffff811c68f6>] __blkdev_get+0x306/0x4d0
[52544.284854]  [<ffffffff811a5d48>] ? find_inode+0x38/0xb0
[52544.284865]  [<ffffffff811c6c55>] blkdev_get+0x195/0x2f0
[52544.284873]  [<ffffffff811a6069>] ? unlock_new_inode+0x59/0x80
[52544.284884]  [<ffffffff811c5410>] ? bdget+0x130/0x150
[52544.284895]  [<ffffffff8125cbc4>] add_disk+0x3a4/0x490
[52544.284932]  [<ffffffffa004b3c9>] sd_probe_async+0x129/0x1e0 [sd_mod]
[52544.284954]  [<ffffffff810831ba>] async_run_entry_fn+0xaa/0x1c0
[52544.284966]  [<ffffffff81075e6a>] process_one_work+0x15a/0x4e0
[52544.284976]  [<ffffffff810765cd>] worker_thread+0x15d/0x400
[52544.284986]  [<ffffffff81076470>] ? rescuer_thread+0x240/0x240
[52544.284998]  [<ffffffff8107b2f0>] kthread+0xc0/0xd0
[52544.285011]  [<ffffffff81010000>] ? perf_trace_xen_mmu_set_pte_at+0x10/0x100
[52544.285023]  [<ffffffff8107b230>] ? kthread_freezable_should_stop+0x70/0x70
[52544.285035]  [<ffffffff814da6ec>] ret_from_fork+0x7c/0xb0
[52544.285046]  [<ffffffff8107b230>] ? kthread_freezable_should_stop+0x70/0x70
[52544.285052] Mem-Info:
[52544.285057] Node 0 DMA per-cpu:
[52544.285065] CPU    0: hi:    0, btch:   1 usd:   0
[52544.285071] CPU    1: hi:    0, btch:   1 usd:   0
[52544.285076] CPU    2: hi:    0, btch:   1 usd:   0
[52544.285080] CPU    3: hi:    0, btch:   1 usd:   0
[52544.285084] Node 0 DMA32 per-cpu:
[52544.285091] CPU    0: hi:  186, btch:  31 usd:   0
[52544.285097] CPU    1: hi:  186, btch:  31 usd:   0
[52544.285102] CPU    2: hi:  186, btch:  31 usd:   0
[52544.285107] CPU    3: hi:  186, btch:  31 usd:   0
[52544.285110] Node 0 Normal per-cpu:
[52544.285117] CPU    0: hi:  186, btch:  31 usd:   0
[52544.285122] CPU    1: hi:  186, btch:  31 usd:   0
[52544.285127] CPU    2: hi:  186, btch:  31 usd:   0
[52544.285132] CPU    3: hi:  186, btch:  31 usd:   0
[52544.285146] active_anon:325339 inactive_anon:53539 isolated_anon:0
 active_file:396016 inactive_file:376501 isolated_file:0
 unevictable:2261 dirty:142 writeback:0 unstable:0
 free:142486 slab_reclaimable:661015 slab_unreclaimable:10370
 mapped:21500 shmem:54173 pagetables:8360 bounce:0
 free_cma:0
[52544.285160] Node 0 DMA free:15844kB min:128kB low:160kB high:192kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15308kB managed:15844kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[52544.285177] lowmem_reserve[]: 0 3359 7870 7870
[52544.285188] Node 0 DMA32 free:502696kB min:28796kB low:35992kB high:43192kB active_anon:110992kB inactive_anon:2412kB active_file:541116kB inactive_file:436276kB unevictable:1340kB isolated(anon):0kB isolated(file):0kB present:3440584kB managed:3413984kB mlocked:1340kB dirty:36kB writeback:0kB mapped:10388kB shmem:2640kB slab_reclaimable:1818528kB slab_unreclaimable:1892kB kernel_stack:352kB pagetables:1988kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[52544.285207] lowmem_reserve[]: 0 0 4510 4510
[52544.285217] Node 0 Normal free:51404kB min:38656kB low:48320kB high:57984kB active_anon:1190364kB inactive_anon:211744kB active_file:1042948kB inactive_file:1069728kB unevictable:7704kB isolated(anon):0kB isolated(file):0kB present:4618656kB managed:4559244kB mlocked:7704kB dirty:532kB writeback:0kB mapped:75612kB shmem:214052kB slab_reclaimable:825532kB slab_unreclaimable:39588kB kernel_stack:2600kB pagetables:31452kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:32 all_unreclaimable? no
[52544.285234] lowmem_reserve[]: 0 0 0 0
[52544.285244] Node 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 3*64kB (U) 2*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15844kB
[52544.285283] Node 0 DMA32: 29021*4kB (UEMR) 22970*8kB (UEMR) 12419*16kB (UEMR) 102*32kB (UEMR) 18*64kB (UEM) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 502964kB
[52544.285317] Node 0 Normal: 12354*4kB (UEM) 275*8kB (UEM) 5*16kB (UEM) 4*32kB (UEM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 51824kB
[52544.285350] 827517 total pagecache pages
[52544.285355] 0 pages in swap cache
[52544.285361] Swap cache stats: add 0, delete 0, find 0/0
[52544.285365] Free swap  = 0kB
[52544.285369] Total swap = 0kB
[52544.367333] 2090480 pages RAM
[52544.367340] 91490 pages reserved
[52544.367345] 2452953 pages shared
[52544.367350] 1171799 pages non-shared
[52544.371026] sd 6:0:0:0: [sdb] No Caching mode page present
[52544.371036] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[52544.371042] sd 6:0:0:0: [sdb] Attached SCSI disk

[1]

[root@...to cups]# gdisk -l /dev/sdb 
GPT fdisk (gdisk) version 0.8.6

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2E559C3A-84AE-4A21-B658-0B286B9A72AF
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 262157 sectors (128.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System Partition
   2          409640       977172223   465.8 GiB   AF05  mac
   3       977172224       977434367   128.0 MiB   AB00  Booter 0x43773a38
   4       977434368      1953262983   465.3 GiB   AF00  linux
[root@...to cups]# 


-- 
PGP key: 7ED9 F7D3 6B10 81D7 0EC5  5C09 D7DC C8E4 3187 7DF0

View attachment "dmesg.3.8.3-no-partition-table" of type "text/plain" (145996 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ